#include <stdio.h>
#include <stdlib.h>
int main(int argc, char * argv[])
{
  if (argc < 2) 
    {
      printf("need a number\n");
      return -1;
    }
  int v = (int)strtol(argv[1], (char **)NULL, 10);
  printf("argument = %d\n", v);
  switch (v)
    {
    case 0:
      printf("The value is 0\n");
      break;
    case 2:
      printf("The value is 2\n");
      break;
    case 9:
      printf("The value is 9\n");
      break;
    default:
      printf("None of the above\n");
      break;
    }
  return 0;
}
